package com.joinway.extension.socket.serializer;

public interface ISegmentSerializer<T> {

	 T deserialize(byte...bytes);
	
	 byte[] serialize(T data);
	
}
